package cn.school.dao;

import cn.school.entity.Student;
import cn.school.entity.Subject;

import java.sql.Date;
import java.util.List;

public interface StudentMapper {
    public List<Student> findALL();
    public int add(Student s);
    public int update(Student s);
    public int del(long stuno);
    //根据id查subject信息
    public Student get(long stuno);
    //实现按照 按照 微信号,qq号,姓名,模糊查找学生的功能，加上分页
    public List<Student> search(int pageNo, int pageSize, String sname, String qq, String wchat);
}
